home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Util / Q / QuicKeys Stuff / WindowDecision 1.3 / WindowDecision README next >
Encoding:
Text File  |  1991-07-24  |  3.2 KB  |  46 lines  |  [TEXT/MSWD]

  1. WindowDecision external 1.3
  2.  
  3. WindowDecision is an external function for use with QuicKeys 2.  It allows you to run one of two QuicKey macros depending on the name and type of the front-most window.
  4.  
  5. If the "Check Window Name" box is hilited, the name of the front window must match the criteria you set for the "Pass QuicKey" to be run.  Using the popup menu, you select one of four name matching criteria.  All name tests are case sensitive.
  6.  
  7. IS - window name must match what you typed into the edit field exactly
  8. IS NOT - the window name does not match what you typed
  9. CONTAINS - the window name has what you typed somewhere in it
  10. CONTAINS NOT - the window does not have what you typed anywhere in it.
  11.  
  12. If the "Check Window Type" box is hilited, the type of the front window must be the same as you select with the popup menu for the "Pass QuicKey" to be run.  There are six window type tests.
  13.  
  14. DIALOG - a dialog window
  15. SYSTEM - a window displayed by the system
  16. USER - any other window
  17. NOT DIALOG - not a dialog window
  18. NOT SYSTEM - not a window displayed by the system
  19. NOT USER - a dialog or system window (not any other window)
  20.  
  21. The above definitions may sound lame, but I am not sure what else to say.
  22.  
  23. If any of the tests being performed fails, or there are no windows currently displayed the "Fail QuicKey" will be run.
  24.  
  25. Either the "Pass QuicKey" or the "Fail QuicKey" field may be left blank if you do not wish to have a QuicKey run should the appropriate condition occur.  If this extension is used inside a sequence, the appropriate (Pass or Fail) QuicKey will be run and then the rest of the sequence will be run afterwards.
  26.  
  27. An example of this externals use is an intelligent auto-save for Microsoft Word.  By checking that the windows name NOT CONTAINS "Untitled" and that its type is USER. If you set the macro to be timed (repeat every five minutes or whatever) and have the "Pass QuicKey" call a macro that invokes a save, you will have an auto-save that only tries to save named documents and nothing else (not untitled windows or the dictionary, etc.)
  28.  
  29. To install the MenuDecision external, use CE Software’s Extension Manager, and follow their instructions for its use.
  30.  
  31. WindowDecision is the property of Simeon Leifer, the author.  I retain full rights to this software in its entirety.  I hereby grant permission, and encourage, FREE distribution of this software, unmodified.  There is no fee for its use, unless you so desire to send money.  Send EMail for a street address.  This software is provided as is and I make no warrantees of any kind either expressed or implied and claim no responsibility for any damages resulting from its use.  This software was written using THINK C.
  32.  
  33. Microsoft Word, THINK C, Extension Manager, and QuicKeys are trademarks of their respective creators.
  34.  
  35. Now that I have gotten the legal stuff out of the way, please feel free to send me any comments or questions.
  36.  
  37. Simeon Leifer
  38. CIS: 71131,3555
  39.  
  40.  
  41. Version History:
  42.  
  43. 1.1 - Added code so the QuicKeys driver is not called if no macro name is given.  fixed window name contains
  44. 1.3 - system 7.0 retrofit, and fixed a bug that made it so that the window type test is never performed if the window name test is not performed. Balloon help added.
  45.  
  46.